import React, {Component} from 'react';
import {StoreProvider} from 'iflux2';
import AppStore from './store';

import Order from './component/order';


@StoreProvider(AppStore)
export default class ReceiptDetail extends Component {
    componentDidMount() {
        this.props.store.queryOrderDetail(this.props.params.tid);
    }


    render() {
        return (
            <div>
                <Order/>
            </div>
        )
    }
}